<template>
	<view class="content">
		<navbar :config="config"></navbar>
		<view>
			<text class="title">{{title}}</text>
		</view>
		<tabBar currentPage="home"></tabBar>
	</view>
</template>

<script>
	import tabBar from "@/components/tabbar.vue";
	export default {
		data() {
			return {
				title: 'Hello',
				config:{
					title:"标题",
					mode:"fixed",
					transparent:true, //是否背景透明 默认白色
					linearTitle:true,
					linear:true, //是为开启下滑渐变
					isNavigateBack:true,
				},
			}
		},
		components:{
			tabBar
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style>
	.content {
		text-align: center;
		height: 400upx;
	}

	.title {
		font-size: 36upx;
		color: #8f8f94;
	}
</style>
